import request from '@/plugins/request';

// 员工列表
export function rbacmemberallmemberlist(data) {
    return request({
      url: "/v1/rbac/member/all-member-list",
      method: "get",
      params: data,
    });
}

// 员工添加
export function rbacmemberaddpersonnel(data) {
    return request({
      url: "/v1/rbac/member/add-personnel",
      method: "post",
      data,
    });
}

// 员工更新
export function rbacmemberupdatepersonnel(data) {
    return request({
      url: "/v1/rbac/member/update-personnel",
      method: "get",
      params: data,
    });
}

// 员工解绑(超管)
export function rbacmemberallunbind(data) {
    return request({
      url: "/v1/rbac/member/all-unbind",
      method: "post",
      data,
    });
}